package com.feifan.monthhelper.constant;

import android.graphics.Color;

public class Constant {
    public static final String TIME_SPARATOR = "-";//时间显示分割符
    public static final int PAGE_COUNT = 30;//分页大小

    //一天的毫秒数
    public static final long DAY_MILLISSECOND = 1000 * 60 * 60 * 24;

    public static interface ShareKey {
        String MENSTRUAL_CYCLE_START_DATE = "menstrual_start_date";//生理周期开始时间
        String MENSTRUAL_CYCLE_END_DATE = "menstrual_end_date";//生理周期结束时间
        String MENSTRUAL_CYCLE_DAYS = "menstrual_cycle_days";//生理期天数
        String MENSTRUAL_CYCLE_SPAN_DAYS = "menstrual_cycle_span_days";//生理周期间隔天数
        String BIRTHDAY = "birthday";//生理周期天数
        String ALARM_TIME = "alarm_time";//提醒时间
    }

    public interface ConstantCode {
        int REQUEST_MINE = 1; //跳转我的界面，用于接收周期相关的参数是否修改
    }

    public interface ConstantName {
        String LAST_30_LOVES = "last_30_loves";//近30天的爱爱记录
        String LAST_30_HABIT = "last_30_habit";//近30天的习惯记录
        String LAST_30_MENSTRUAL = "last_menstrual";//最近一次月经分析
        String LAST_MENSTRUAL_STATISTICS = "last_menstrual_statistics";//最近一次月经分析
    }

    public interface MenstrualState {

        //月经状态 0：无/1：月经期/2：预测月经期/3：安全期/4：排卵期
        int MENSTRUAL_DAY = 1;
        int CACULATE_MENSTRUAL_DAY = 2;
        int SAFE_DAY = 3;
        int OVULATORY_DAY = 4;
    }

    public interface MenstrualColor {

        int MENSTRUAL_DAY = Color.parseColor("#FF66BA");
        int CACULATE_MENSTRUAL_DAY = Color.parseColor("#FD8CCA");
        int SAFE_DAY = Color.parseColor("#77ECB4");
        int OVULATORY_DAY = Color.parseColor("#9DB8EB");
    }

    public interface Percent {
        int HIGH = 90;
        int MIDDLE = 30;
        int LOW = 10;
    }
}
